package com.blkbox.dp.decorator;

public class DecoratorTest {
	
	public static void main(String[] args) {
		Sourceable source = new Source();
		 //客户指定了装饰者需要装饰的是哪一个类
		Sourceable obj = new Decorator(source);
		obj.method();
	}
}
